package com.sd.repay.service;

import com.sd.repay.common.CommonResult;
import com.sd.repay.pojo.ExtractionOrder;
import com.sd.repay.pojo.ReverseRecord;

/**
 * Created by sd on 2018/08/21
 */
public interface ReverseRecordService {

    CommonResult executeReverse(ExtractionOrder order) throws Exception;

    int updateReverseStatus(String reverseOrderNo, String newStatus, String oldStatus, String remark) throws Exception;

    int saveReversrRecord(ReverseRecord record) throws Exception;

    ReverseRecord getReverseRecordByService(String service, String serviceOrderNo) throws Exception;
}
